{% extends 'base.html' %}

{% block css %}<link rel="stylesheet" type="text/css" href="{{request.basePath}}/css/global.css?{{request.PUBLISH_FLAG}}" />{% endblock %}
{% block bodyCss %}body_bg{% endblock %}

{% block body %}
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0" class="layoutFixed">
  <tr>
    <td>
      <table class="top" width="100%" cellspacing="0" cellpadding="0" border="0">
	      <tr>
					<td>&nbsp;</td>
					<td align="right" style="padding-right: 20px;">
					  {{request.dept.name}}，
					  {% ifequal user.nick 'sandbox_c_1' %}
					  演示用户
					  {% endifequal %}
					  {{user.nick}}，欢迎您！
					  
					  &nbsp;
					  <a href="{{request.basePath}}" title="首页">
					    首页
					  </a>
					  &nbsp;
					  <a href="{{request.basePath}}/logout" title="退出">
					    退出
					  </a>
					  {% if request.isMyPending %}
					  <br />
					  <a href="{{request.basePath}}/appraisal/mypending/" title="未处理评价数">
					  未处理评价数({{request.unDealCount}})
					  </a>
					  {% endif %}
					</td>
	      </tr>
      </table>

      <ul class="menu">
	{% for item in request.menu.menu1 %}
	<li>
	  <a id="navElectricity" href="{{request.basePath}}{{item.url}}" {% ifequal item.isCurrent 'True' %}class="current"{% endifequal %}>
	    {{item.name}}</a>
	</li>
	{% endfor %}
      </ul>
      <div style="clear: left"></div>
    </td>
  </tr>
  <tr>
    <td height="100%" valign="top">
      {% block middle %}{% endblock %}
    </td>
  </tr>
  <tr>
    <td>
      {% include 'bottom.html' %}
      {% block bottom %}{% endblock %}
    </td>
  </tr>
</table>
{% endblock %}
